//
//  ChatGroupSearchService.h
//  chatModule
//
//  Created by sy on 2024/11/28.
//

#import "OneChatService.h"

NS_ASSUME_NONNULL_BEGIN
/**搜索群 */
@interface ChatGroupSearchService : OneChatService
/**群名称*/
@property (nonatomic,copy) NSString *room_name;
/**群编号*/
@property (nonatomic,copy) NSString *room_code;

@end

/** 申请建群 Post*/
@interface ChatGroupApplyCreateService : OneChatService
/**群名称*/
@property (nonatomic,copy) NSString *room_name;
/***/
@property (nonatomic,copy) NSString *room_icon;
/**群简介*/
@property (nonatomic,copy) NSString *room_synopsis;

@end

/** 申请入群*/
@interface ChatGroupApplyJoinService : OneChatService
/**聊天室id*/
@property (nonatomic,copy) NSString *room_id;
/**申请人id*/
@property (nonatomic,copy) NSString *apply_user;
/**邀请人id*/
@property (nonatomic,copy) NSString *invite_user;

@end


/** 管理员审核入群*/
@interface ChatGroupJoinCheckService : OneChatService
/**申请人id*/
@property (nonatomic,copy) NSString *apply_user_id;
/**群的聊天室id*/
@property (nonatomic,copy) NSString *apply_room_id;
/**审核结果【1同意 2驳回】*/
@property (nonatomic,copy) NSString *check_type;

@end

/** 修改群资料*/
@interface ChatGroupUpdateInfoService : OneChatService
/**聊天室id*/
@property (nonatomic,copy) NSString *room_id;
/**群名称*/
@property (nonatomic,copy) NSString *room_name;
/**群简介*/
@property (nonatomic,copy) NSString *room_synopsis;
/**群头像*/
@property (nonatomic,copy) NSString *room_icon;

@end


/** 退出群聊*/
@interface ChatGroupExitService : OneChatService
/**申请退出的群聊天室id*/
@property (nonatomic,copy) NSString *room_id;


@end


/** 解散群聊*/
@interface ChatGroupDissolveService : OneChatService
/**聊天室id*/
@property (nonatomic,copy) NSString *room_id;

@end


/** 用户移除群聊*/
@interface ChatGroupRemoveUserService : OneChatService
/**聊天室id*/
@property (nonatomic,copy) NSString *room_id;
/**移除的用户id*/
@property (nonatomic,copy) NSString *remove_user_id;

@end

NS_ASSUME_NONNULL_END
